package com.controller.student;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.po.SdishqueryH;
import com.service.student.SdishqueryServiceH;

@Controller
public class SdishqueryControllerH {
	
	
	@Resource(name="sdishqueryServiceImpH")
	private SdishqueryServiceH sdishqueryservice;
	
	@ResponseBody
	@RequestMapping(value="/find_dishH")
	public List<SdishqueryH> getDishqueryList(){
		
		return (List<SdishqueryH>) sdishqueryservice.getDishqueryList();
	}
}
